
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
         <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width">
        <link rel="stylesheet" href="../css/bootstrap.min.css">
        <link rel="stylesheet" href="../css/bootstrap-theme.min.css">
        <script src="../js/angular.min.js"></script>
        <script src="../js/ng-table.js"></script>
        <link rel="stylesheet" href="../css/ng-table.css">
        <style type="text/css">
            .nestedTblGutter {
                padding-right: 30px;
            }
        </style>
        <link rel="icon" href="../../favicon.ico">
        <!-- Bootstrap core CSS -->
        
        <!-- Custom styles for this template -->
        <link href="../jumbotron.css" rel="stylesheet">
        <link href="../mycss/stylecss.css" rel="stylesheet">
        <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>
        <script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script> 
    </head>
    <body>
         <!--nav start-->
         <nav class="nav_height nav_header navbar navbar-inverse navbar-fixed-top">
             <div class="container">
                <div id="navbar" class="navbar-collapse collapse">
                 <div class="navbar-form navbar-right">  
                     <a class="nav_padding navbar-brand" href="#" > 个 人 中 心</a>  
                     <a class="adver_navWord nav_paddingword navbar-brand">退 出</a>
             </div><!--/.navbar-collapse --> 
          </div>
         </nav>  
         <!--nav end--> 
         
         <!--logo start-->
            <div class="jumbotron" style="height: 147px;">
                <div class="container" style="height: 154px;">
                    <div class="jumbotron_img">
                         <img class="jumbot_img" src="../img/logo.png"/>
                    </div> 
                </div> 
            </div>
           <!--logo start-->
           
        <!--main start-->
    <!--<div class="container">-->
       <div class="content_contenn adver_ok container  adver_navLow ">
               <div class="row adver_nav navbar-form navbar-left">
                    <a class="nav_Wordcolor  adver_navpadding navbar-brand" href="#" > 交 易 规 则</a> 
                     <a class="nav_Wordcolor adver_navWord_two ">安 全 中 心</a>
                     <a class="nav_Wordcolor adver_navWord_three">客 户 服 务</a>
               </div>
        </div>
        <!--</div>-->
        <div class="content_contenn container adver_conter"> 
              <div class="content_row row adver_row">
                 <div class="content_col3 col-sm-3 col-md-3 sidebar">
                    <ul class="nav nav-sidebar">
                      <li class="active"><a href="#"><span class="sr-only">(current)</span></a></li>
                    </ul>
                          <ul class="nav nav-sidebar">
                          <li class="adver_li">
                              <img src="../img/user.png"/>
                              <span class="adver_Frame adver_Span ">店铺管理</span></li>
                          <li class="adver-lit">
                              <a href="spMangeShopclass.html" class="adver_seta adver_Frame">店铺管理</a>
                          </li>
                          <hr />
                      </ul>
                      <ul class="nav nav-sidebar">
                      <li>
                          <a href="" >
                              <img src="../img/change.png"/>
                              <span class="adver_Frame">配件管理</span>
                          </a>
                          </li>
                          <li class="adver-lit">
                              <a href="#" class="adver_seta adver_Frame"> 配件分类与上架</a>
                          </li>
                      <hr />
                    </ul>
                      <ul class="nav nav-sidebar">
                          <li><a>
                                  <img class="adverSet_imga" src="../img/icon-truck.png"/>
                                  <span class="adver_Span">交易管理</span>
                              </a>
                          </li>
                         <li class="adver-lit">
                             <a href="spMangeOrManger.html" class="adver_seta adver_Frame" >订单管理</a><a href="spMangeComplete.html"  class="advers_SetaT adver_Frame">已完成订单</a>
                          </li>  
                          <li class="adver-lit">
                             <a href="spMangeRefund.html" class="adver_seta adver_Frame" >退货退款</a><a href="spMangelocMange.html" class="ueser_perat advers_SetaT adver_Frame">发货方地址管理</a>
                          </li>
                         <hr />     
                      </ul>  
                      <ul class="user_nav nav nav-sidebar">
                        <li><a href="" class="adver_Frame">
                                <i class="glyphicon glyphicon-question-sign"></i>
                                <span class="adver_Span"> 物流管理</span> 
                            </a>
                        </li>
                         <li class="adver-lit">
                             <a href="spManLogManger.html" class="adver_seta adver_Frame">物流管理</a>
                          </li>
                      <hr />
                    </ul>
                     <ul class="nav nav-sidebar">
                         <li><a>
                                 <img src="../img/laba.png"/>
                                 <span href=""  class="adver_Frame">资金账户管理</span>
                             </a></li>
                      <hr />
                    </ul>
                     <ul class=" user_nav nav nav-sidebar">
                         <li><a>
                                 <img src="../img/laba.png"/>
                                 <span href="" class="adver_Frame">广告管理</span>
                             </a></li>
                         <li class="adver-lit">
                             <a href="adverSETinfohtml.html" class="adver_seta adver_Frame">投放说明</a><a class="advers_SetaT adver_Frame">投放申请</a>
                          </li>
                          <li class="adver-lit">
                              <a href="#" class="adver_seta adver_Frame"> 广告管理</a>
                          </li>
                      <hr />
                    </ul>
                      <ul class="user_nav nav nav-sidebar">
                        <li> <a> 
                                <img src="../img/user.png"/>
                                <span class="adver_Frame">售后管理</span>
                            </a>
                        </li>
                      <hr />
                    </ul>        
                      <ul class="user_nav nav nav-sidebar">
                           <li>
                               <a href="">
                                   <img src="../img/wenti.png"/>
                                   <span class="adver_Frame">供应商信息管理</span>
                               </a>
                           </li>
                         <li class="adver-lit">
                              <a href="spMangerInfor.html"  class="adver_seta adver_Frame">供应商信息管理</a>
                          </li>
                      <hr />
                    </ul>

                  </div>
                   <div class="content_col9 user_box col-sm-9 col-md-9  main order_bigbox">
                   <div class="pareMager_div operte_Infodiv">
                              <div class="orderlogi operteInfo_img">
                                  <span class="order_Span">物流记录</span>
                               </div>  
                    <div ng-app="main" ng-controller="DemoCtrl">
                          <div>
                               搜索： <input ng-model="searchText">
                          </div>
                  <table data-toggle="table"  ng-table="parentTableParams" data-click-to-select="true" class="table ng-table-responsive table-condensed table-hover order_tableone table table-bordered complaintDis_head" >     
                        <tr>
                            <th data-field="ordernum" data-align="center">订单号</th>
                            <th data-field="expressNumber" data-align="center">物流单号</th>
                            <th data-field=" freight" data-align="center">运费</th>
                            <th data-field="expcompany " data-align="center">快递公司</th>
                            <th data-field="status " data-align="center">物流状态</th>
                            <th data-field="recipient" data-align="center">签收人</th>
                            <th data-field="receipttime " data-align="center">签收时间</th>
                            <th data-field="entrytime" data-align="center">录单时间</th>
                            <th data-field="category " data-align="center">查看详情</th>
                        </tr> 
                   <tbody>
                 <tr ng-repeat-start="parent in $data | filter:searchText">
                     <td data-title="'ordernum'" ng-bind="parent.ordernum"></td>
                     <td data-title="'expressNumber'" ng-bind="parent.expressNumber"></td>
                     <td data-title="'freight'" ng-bind="parent.freight"></td> 
                     <td data-title="'expcompany '" ng-bind="parent.expcompany"></td>
                     <td data-title="'status '" ng-bind="parent.status "></td>
                     <td data-title="'recipient'" ng-bind="parent.recipient"></td>
                     <td data-title="'receipttime'" ng-bind="parent.receipttime"></td>    
                     <td data-title="'entrytime'" ng-bind="parent.entrytimet"></td>
                     <td data-title="'category'" ng-bind="parent.category"></td>
                  </tr>
                
                <tr ng-repeat-end ng-if="(selectedParent === parent)">
                    <td colspan="1" ng-controller="DemoChildrenCtrl" ng-if="flag1==='true'">
                        {{flag1}}
                        <div class="nestedTblGutter">
                            <table ng-table="childrenTableParams" class="table ng-table-responsive table-condensed table-bordered table-hover">
                                <tr ng-repeat="child1 in selectedParent.children1 | filter:searchText">
                                    <td data-title="'Name'" ng-bind="child1"></td>
                                </tr>
                            </table>
                        </div>
                    </td>
                    <td colspan="1" ng-controller="DemoChildrenCtrl" ng-if="flag2==='true'">
                        {{flag1}}
                        <div class="nestedTblGutter">
                            <table ng-table="childrenTableParams" class="table ng-table-responsive table-condensed table-bordered table-hover">
                                <tr ng-repeat="child1 in selectedParent.children2 | filter:searchText">
                                    <td data-title="'Name'" ng-bind="child1"></td>
                                     <td data-title="'Phone'" ng-bind="child.phone"></td> 
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </tbody>
             </table>
                      <!--list start-->
      <script>
        var app = angular.module('main', ['ngTable']).
        controller('DemoCtrl', function($scope,$filter, ngTableParams) {
                var data = [
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"}, 
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"}, 
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"},
                {  ordernum:"14608749961", expressNumber:"14608749960",freight:"￥12",expcompany :"01-中通", status :"已送达",recipient:"王先生",receipttime :"2016-4-17",entrytime:"2016-2-17"}

   ];

            $scope.parentTableParams = new ngTableParams({
                page: 1,    // show first page
                count: 10    // count per page
            }, {
                total: data.length,    // length of data
                getData: function($defer, params) {
                    $defer.resolve(data.slice((params.page() - 1) * params.count(), params.page() * params.count()));
                }
            });

        }).controller("DemoChildrenCtrl", function($scope, ngTableParams){

            //Children Table
            console.log("DemoChildrenCtrl");
            $scope.childrenTableParams = new ngTableParams({
                page: 1,    // show first page
                count: 10    // count per page
            }, {
                total: 0, // length of data
                getData: function($defer, params){
                    $defer.resolve($scope.selectedParent.children1.slice((params.page() - 1) * params.count(), params.page() * params.count()));
                }
            });
        });
        </script>
         </div>
     
                  <!--table 2-->

                 <!--table end2-->
                 <!--table start3-->  

                 <!--table end3--->
                 <!--table start4-->
     
                 
                 <!--table end4-->
                 <!--table start5-->          
       
                          

                 <!--table end5-->
                 <!--table start6--> 

                
                      <!--table end-->

              </div>
            </div>
        </div>     
     <!--footer start-->
         <div class="footer" >		
               <div class="container footer_container">

                 <div class="footer-hd">
                   <p>
                   <a href="#">关于我们</a>
                   <b>|</b>
                   <a href="#">联系我们</a>
                   <b>|</b>
                   <a href="#">版权说明</a>
                    <b>|</b>
                   <a href="#">法律援助</a>
                 </div>
                 <div class="footer-bd">
                   <p>
                   <em>© 2016 Taobao.com 版权所有</em>
                   </p>
                   <p>
                   <span>网络文化经营许可证：<a href="http://img04.taobaocdn.com/tps/i4/T1ysdvXtNeXXcPpEkQ-972-636.jpg">文网文[2010]040号</a></span>
                   <b>|</b>
                   <span>增值电信业务经营许可证：浙B2-20080224-1</span>
                   </p>
                 </div>
                 <div class="footer-ft">
                 </div>
               </div>
               </div>
         <!-- #footer END -->
<!--        </div>-->
        <!--main end-->
        <script src="../js/bootstrap-table.js"></script>
         <script src="../js/ie-emulation-modes-warning.js"></script>
         <script src="../js/bootstrap.js"></script>
          <script src="../js/spManLogManger.js"></script>
    </body>
</html>


